home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _FD2A2749468E49DA9C856A496A226280 < prev    next >
Encoding:
Text File  |  2000-03-27  |  838 b   |  31 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4. /////////////////////////////////////////////////
  5. // Declare
  6.  
  7. local entity camroom_door
  8. local entity camroom_hole
  9. local entity openin // the func wall for collision
  10. local int sig1
  11. local int sig2
  12.  
  13. /////////////////////////////////////////////////
  14. // Assign
  15.  
  16. camroom_door = find entity with targetname "camroom_door"
  17. camroom_hole = find entity with targetname "camroom_hole"
  18. openin = find entity with targetname "openin"
  19.  
  20. /////////////////////////////////////////////////
  21. // Action
  22.  
  23. camroom_hole.movetype = MOVETYPE_NOCLIP
  24.  
  25. rotate entity camroom_door by [0,-90,0] at 90 speed signaling sig1
  26. rotate entity camroom_hole by [0,-90,0] at 90 speed signaling sig2
  27. wait for all clearing sig1,sig2
  28. use entity openin
  29. camroom_hole.movetype = MOVETYPE_NONE
  30.  
  31. // End